getSupportedModes

open fun getSupportedModes(@NonNull context: @NonNull Context, @NonNull display: @NonNull Display): @NonNull Array<DisplayCompat.ModeCompat>(source)

Gets the supported modes of the given display where any mode with the same size as the current mode can be relied on to determine support for 4k on Android TV devices.